<template>
  <div>{{money}}
    <button @click="fn">修改</button>
  </div>
</template>

<script>
export default {
  name: "demo",
  props: {
    visible: {
      type: Boolean,
      default: false,
    },
    money:null
  },
  methods:{
    fn() {
        this.$emit('update:aa',200)
    }
  }
};
</script>

<style></style>
